<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>X-Wrt for end users</title>
<link rel="stylesheet" type="text/css" href="http://192.168.182.1/themes/active/waitbox.css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://192.168.182.1/themes/active/webif.css" />
<!-- redirecting... either by meta tag or javascript -->
<meta http-equiv="refresh" content="2; URL=/prelogin"> 
<script type="text/javascript" language="Javascript">
//<!--
function getURLParam(n) {
  var s = "";
  var href = window.location.href;
  if (href.indexOf("?") > -1) {
    var qs = href.substr(href.indexOf("?"));
    var qsList = qs.split("&");
    for (var i = 0; i < qsList.length; i++) {
      if (qsList[i].indexOf(n + "=") > -1) {
        var pList = qsList[i].split("=");
        s = pList[1];
        break;
      }
    }
  }
  return unescape(s.replace(/\+/g, " "));
}
var loginUrl = getURLParam("loginurl");
window.document.write("<meta http-equiv=\"refresh\" content=\"2; URL="+loginUrl+"\">");
function redirect() { window.location = loginUrl; return false; }
//-->
</script>
<meta http-equiv="refresh" content="2; URL=/prelogin"> 
</head>
<!-- <body style="margin: 0pt auto; height:100%;"> -->
<body>
<div id="container"> 
<div id="header"><h1>X-Wrt</h1>
<em>OpenWrt for end users</em>
<div id="mainmenu">
<div style="width:100%;position:fixed;display:table;">
<p style="display: table-cell; line-height: 2.5em;
vertical-align:middle;text-align:center;color:grey;"> 
<small><img src="wait.gif"/> redirecting...</small></p>
</div>
</div>
</div>
<!--
<div style="width:100%;height:80%;position:fixed;display:table;">
<p style="display: table-cell; line-height: 2.5em;
vertical-align:middle;text-align:center;color:grey;"> 
<small><img src="wait.gif"/> redirecting...</small></p>
<br><br>
</div>
-->
</body>
</html>
